#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@Project ：python常用模块库 
@File ：error.py
@IDE  ：PyCharm 
@Author ：李涵彬
@Date ：2025/2/20 上午12:52 
"""

class SharedMemoryError(Exception):
    """基础异常类"""

class MemoryExistsError(SharedMemoryError):
    """内存已存在异常"""

class MemoryNotFoundError(SharedMemoryError):
    """内存未找到异常"""

class LockAcquireError(SharedMemoryError):
    """锁获取失败异常"""

class SerializationError(SharedMemoryError):
    """序列化异常"""